package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.DailyContent;
import cn.wolfcode.trip.base.domain.Grogshop;
import cn.wolfcode.trip.base.domain.GrogshopComment;
import cn.wolfcode.trip.base.domain.GrogshopRoom;
import cn.wolfcode.trip.base.query.GrogshopQuery;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IGrogshopService {

    void saveOrUpdate(Grogshop region);

   List<Grogshop> listAll();

    PageInfo<Grogshop> query(GrogshopQuery qo);

    //根据酒店的id查询详情
    List<Grogshop> getGrogshopById(Long id);
    //根据酒店的id查询文章内容
    GrogshopComment selectContentById(Long id);
    //根据酒店的id查询文章内容
    GrogshopComment getCommetnById(Long id);
}
